//NIRMA STUDIO, 2013
// Centipede init
#include <iostream>
#include <math.h>
#include <iomanip>

using namespace std;

class Centipede: public Object{
	public:
		Centipede(void);
		Centipede(int lvl);
		~Centipede();
};

Centipede::Centipede(int lvl){
	name       			= "Centipede";
	level      			= lvl;
	attack     			= 3.0  * (pow(1.3, lvl));
	attack_type[0]		= "fire";
	attack_type[1]		= "light";
	armor_type			= "medium";
	cost[0] 			= 100;
	cost[1] 			= 0;
	cost[2] 			= 1; 						
	health     			= 30.0	* (pow(1.2, lvl));
	mana       			= 1.0  	* (pow(1.2, lvl));
	experience 			= 0.0;
	max_experience  	= 10.0 	* (pow(1.4, lvl));
	crit_chance 		= 15	* (pow(1.1, lvl));
	dodge_chance 		= 25 	* (pow(1.1, lvl));
	mana_regen 			= 0;
	hp_regen 			= 0;
	move_speed 			= 80;
	attack_range 		= 200;
	sight_range 		= 200;
}

Centipede::Centipede(){
	name       			= "Centipede";
	level      			= 1;
	attack     			= 3.0;
	health     			= 30.0;
	mana       			= 10.0;
	experience 			= 0.0;
	max_experience  	= 10.0;
	crit_chance 		= 15;
	dodge_chance 		= 15;
	attack_type[0]		= "fire";
	attack_type[1]		= "light";
	armor_type			= "medium";
	cost[0] 			= 100;
	cost[1] 			= 0;
	cost[2] 			= 1;
	mana_regen 			= 0;
	hp_regen 			= 0;
	move_speed 			= 80;
	attack_range 		= 200;
	sight_range 		= 200;	
}

Centipede::~Centipede(){}

